namespace NHibernateMappingSample.Entities
{
	// data object class Product generated from Product
	// shvadskd [2008-10-20] Created

	using System;

	public  class Product 
	{

		#region Property_Names

		public static string Prop_ProductID = "ProductID";
		public static string Prop_Name = "Name";
		public static string Prop_ProductNumber = "ProductNumber";
		public static string Prop_Color = "Color";
		public static string Prop_StandardCost = "StandardCost";
		public static string Prop_ListPrice = "ListPrice";
		public static string Prop_Size = "Size";
		public static string Prop_Weight = "Weight";
		public static string Prop_ProductCategory = "ProductCategory";
		public static string Prop_ProductModel = "ProductModel";
		public static string Prop_SellStartDate = "SellStartDate";
		public static string Prop_SellEndDate = "SellEndDate";
		public static string Prop_DiscontinuedDate = "DiscontinuedDate";
		public static string Prop_ThumbNailPhoto = "ThumbNailPhoto";
		public static string Prop_ThumbnailPhotoFileName = "ThumbnailPhotoFileName";
		public static string Prop_rowguid = "rowguid";
		public static string Prop_ModifiedDate = "ModifiedDate";

		#endregion

		#region Constructors

		public Product()
		{
		}

		public Product(
			int p_productid,
			string p_name,
			string p_productNumber,
			string p_color,
			System.Decimal p_standardCost,
			System.Decimal p_listPrice,
			string p_size,
			System.Decimal? p_weight,
			ProductCategory p_productCategory,
			DateTime p_sellStartDate,
			DateTime? p_sellEndDate,
			DateTime? p_discontinuedDate,
			byte[] p_thumbNailPhoto,
			string p_thumbnailPhotoFileName,
			byte[] p_rowguid,
			DateTime p_modifiedDate)
		{
			ProductID = p_productid;
			Name = p_name;
			ProductNumber = p_productNumber;
			Color = p_color;
			StandardCost = p_standardCost;
			ListPrice = p_listPrice;
			Size = p_size;
			Weight = p_weight;
			ProductCategory = p_productCategory;			
			SellStartDate = p_sellStartDate;
			SellEndDate = p_sellEndDate;
			DiscontinuedDate = p_discontinuedDate;
			ThumbNailPhoto = p_thumbNailPhoto;
			ThumbnailPhotoFileName = p_thumbnailPhotoFileName;
			rowguid = p_rowguid;
			ModifiedDate = p_modifiedDate;
		}

		#endregion

		#region Properties

		public virtual int ProductID
		{
			get; set;
		}
		public virtual string Name
		{
			get; set;
		}
		public virtual string ProductNumber
		{
			get; set;
		}
		public virtual string Color
		{
			get; set;
		}
		public virtual System.Decimal StandardCost
		{
			get; set;
		}
		public virtual System.Decimal ListPrice
		{
			get; set;
		}
		public virtual string Size
		{
			get; set;
		}
		public virtual System.Decimal? Weight
		{
			get; set;
		}
		public virtual ProductCategory ProductCategory
		{
			get; set;
		}
		
		public virtual DateTime SellStartDate
		{
			get; set;
		}
		public virtual DateTime? SellEndDate
		{
			get; set;
		}
		public virtual DateTime? DiscontinuedDate
		{
			get; set;
		}
		public virtual byte[] ThumbNailPhoto
		{
			get; set;
		}
		public virtual string ThumbnailPhotoFileName
		{
			get; set;
		}
		public virtual byte[] rowguid
		{
			get; set;
		}
		public virtual DateTime ModifiedDate
		{
			get; set;
		}
		#endregion
	} // Product
}

